﻿using UnityEngine;
using System.Collections;

public class Dest : MonoBehaviour
{

	void Start ()
	{
	
	}
	
	// Update is called once per frame
	void Update ()
	{
	
	}

	void OnTriggerEnter (Collider other)
	{
		Destroy (other.gameObject, 5);
	}

	void OnCollisionEnter (Collision collision)
	{
		Destroy (collision.gameObject, 5); 
	}


}
